<template>
  <div class="team-topic">
    <el-tabs v-model="activeName">
      <el-tab-pane label="小组管理" name="1">
        <team v-if="activeName === '1'"/>
      </el-tab-pane>
      <el-tab-pane label="小组话题管理" name="2">
        <topic v-if="activeName === '2'"/>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import Team from './components/teamtopic/team'
import Topic from './components/teamtopic/topic'
export default {
  components: {
    Team,
    Topic
  },
  data() {
    return {
      activeName: '1'
    }
  }
}
</script>

<style lang="scss" scoped>
.team-topic {
  padding: 0px 20px;
}
</style>
